import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
    {
        path: '/',
        redirect: '/table'
    },
    {
        path: '/aaa',
        name: 'AAA',
        component: () => import("@/views/a/index.vue")
    },
    {
        path: '/bbbb',
        name: 'BBB',
        component: () => import("@/views/b/index.vue")
    },
    {
        path: '/table',
        name: 'Table',
        component: () => import("@/views/tableDialogView/index.vue")
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router